PM3.02 - King Dedede - Action - 0xaf ItemScrew

Entry Script (Common)

  1. ControllerUnk01
  2. ControllerUnk02
  3. ItemVisibility(false)
  4. CreateInterrupt { interrupt_id: None, action: ItemScrewFall, requirement: (AnimationEnd) }
  5. CreateInterrupt { interrupt_id: Some(10027), action: LandingLight, requirement: (OnGround) }
  6. PreviousInterruptAddRequirement((LongtermAccessInt(FallTime) LessThan InternalConstantInt(TermVelFrameTimer)))
  7. PreviousInterruptAddRequirement((InternalConstantInt (0x3ea) LessThan InternalConstantInt (0xbc8)))
  8. CreateInterrupt { interrupt_id: Some(10026), action: LandingHeavy, requirement: (OnGround) }
  9. PreviousInterruptAddRequirement((InternalConstantInt (0x3ea) LessThan InternalConstantInt (0xbc8)))
  10. Subroutine(0x21c50)
  11. DisableInterruptGroup(AirLanding)
  12. IntVariableIncrement { variable: LongtermAccessInt (0x3b) }
  13. SoundEffect1(8041)
  14. if (BoolIsTrue LongtermAccessBool(HasScrewAttack))
    1. SoundEffect1(8107)
  15. ChangeSubactionRestartFrame(ItemScrew)

Exit Script (Common)